package t1;

public class my_override {
    public static void main(String[] args){
        Person1 p1 = new Student1();
        p1.run();
    }
}

class Person1{
    public void run(){
        System.out.println("Person.run");
    }
}

class Student1 extends Person1{
    @Override
    public void run(){
        System.out.println("Student.run");
    }
}


